package com.yida.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;

/**
 * 菜单图片样式上传页面对象 sys_menu_img
 * 
 * @author hmh
 * @date 2023-05-24
 */
public class SysMenuImg extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 图片ID */
    private Long imgId;

    /** 菜单ID */
    @Excel(name = "菜单ID")
    private Long menuId;

    /** 菜单名称 */
    private String menuName;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 0:允许；1:关闭 */
    @Excel(name = "0:允许；1:关闭")
    private Integer status;

    public void setImgId(Long imgId) {
        this.imgId = imgId;
    }

    public Long getImgId() {
        return imgId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("imgId", getImgId()).append("menuId", getMenuId()).append("imgUrl", getImgUrl()).append("status", getStatus()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark()).toString();
    }
}
